home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / misc / VMM_V3_1.lha / VMM / contrib / VMMInformer1_0.lha / VMMInformer1.0 / Prefs / VMMInformer.crazy next >
Text File  |  1995-05-12  |  3KB  |  101 lines

  1. // VMMInformer.prefs DON'T EDIT OR MOVE THIS LINE
  2. BEGIN TASK/WINDOW
  3.   VERSION  = 1              // !!! DO NOT EDIT THIS LINE !!!
  4.   REVISION = 0              // !!! DO NOT EDIT THIS LINE !!!
  5.  
  6.   PRIORITY = 1
  7.  
  8.   LEFT  = 0
  9.   TOP   = 0
  10.   WIDTH = 460
  11.  
  12.   ZOOMED = FALSE
  13.   ZOOMED_LEFT = 0
  14.   ZOOMED_TOP  = 0
  15.  
  16.   BACKFILLCOLOR = 0
  17.   TEXTCOLOR     = 1
  18.   PANELCOLOR    = 3
  19. END
  20.  
  21. // RPN for calculations
  22. BEGIN VARIABLES
  23.   SYNCHRONIZE = TRUE        // !!! DON'T EDIT THIS LINE !!!
  24.   SECONDS = 0
  25.   MICROS  = 200000
  26.  
  27.   DEFINE VMUsed  = VMSize VMFree -
  28.   DEFINE VMFreeK = VMFree 1024 /
  29.   DEFINE PUBLIC_FAST_FreeK = PUBLIC_FAST_Free 1024 /
  30.   DEFINE CHIP_FreeK = CHIP_Free 1024 /
  31.  
  32.   DEFINE Hours   = CurrentSeconds 86400 % 3600 /
  33.   DEFINE Minutes = CurrentSeconds 86400 % 3600 % 60 /
  34.   DEFINE Seconds = CurrentSeconds 60 %
  35.  
  36.   ARRAYPagesWritten = PagesWritten
  37.   ARRAYPagesRead    = PagesRead
  38.   ARRAYFaults       = Faults
  39.  
  40.   DEFINE Pages_written_per_update = ARRAYPagesWritten(0) ARRAYPagesWritten(-1) -
  41.   DEFINE Pages_read_per_update = ARRAYPagesRead(0) ARRAYPagesRead(-1) -
  42.   DEFINE Pagefaults_per_update = ARRAYFaults(0) ARRAYFaults(-1) -
  43. END
  44.  
  45. BEGIN STRINGS
  46.   TITLE = "Crazy VMMInformer V%1.1ld.%1.1ld, Update every %6ld micros", VERSION, REVISION, MICROS
  47.   ZOOMTITLE = "VM: %5ld K, Chip: %4ld K, Fast: %5ld K  %2.2ld:%2.2ld:%2.2ld", VMFreeK, CHIP_FreeK, PUBLIC_FAST_FreeK, Hours, Minutes, Seconds
  48.  
  49.   TEXT = "Virtual memory size:", VMSize
  50.   TEXT = "Virtual memory free:", VMFree
  51.   TEXT = "Virtual memory used:", VMUsed
  52.   TEXT = "Public Fast Mem free:", PUBLIC_FAST_Free
  53.   TEXT = "       Chip Mem free:", CHIP_Free
  54.   TEXT = ""
  55.   TEXT = "Number of pagefaults:", Faults
  56.   TEXT = "Number of pages read:", PagesRead
  57.   TEXT = "Number of pages written:", PagesWritten
  58.   TEXT = "Number of page frames:", NumFrames
  59.   TEXT = "Pages used on device:", PagesUsed
  60.   TEXT = "PageSize:", PageSize
  61.   TEXT = "TrapStructs free:", TrapStructsFree
  62.   TEXT = ""
  63.   TEXT = "Current seconds:", CurrentSeconds
  64.   TEXT = "Current micros:", CurrentMicros
  65.   TEXT = ""
  66.   TEXT = "Pagesfaults per update:", Pagefaults_per_update
  67.   TEXT = "Pages read  per update:", Pages_read_per_update
  68.   TEXT = "Pages written per update:", Pages_written_per_update
  69. END
  70.  
  71. BEGIN GRAPHIC
  72.   AUTOSCALE = TRUE
  73.   SHIFT = 1
  74.   COLOR = 1
  75.   EXCEED_COLOR = 7
  76.  
  77.   GRAPHIC = CurrentMicros
  78.   GRAPHIC_HEIGHT = 20
  79.  
  80.   GRAPHIC = VMFree
  81.   GRAPHIC_HEIGHT = 30
  82.  
  83.   GRAPHIC = PUBLIC_FAST_Free
  84.   GRAPHIC_HEIGHT = 30
  85.  
  86.   GRAPHIC = CHIP_Free
  87.   GRAPHIC_HEIGHT = 30
  88.  
  89.   GRAPHIC = Pagefaults_per_update
  90.   GRAPHIC_HEIGHT = 30
  91.   GRAPHIC_COLOR = 2
  92.  
  93.   GRAPHIC = Pages_read_per_update
  94.   GRAPHIC_HEIGHT = 40
  95.   GRAPHIC_COLOR = 2
  96.  
  97.   GRAPHIC = Pages_written_per_update
  98.   GRAPHIC_HEIGHT = 50
  99.   GRAPHIC_COLOR = 2
  100. END
  101.